package com.example.demo.mapper;

import com.example.demo.domain.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {
    int InsertEmployee(Employee employee);
    Employee SelectEmployee(Integer id);
    List<Employee> SelectAll();
    int DeleteEmployee(Integer id);
    int UpdateEmployee(Employee employee);
    int SelectAge(Integer min,Integer max);
}
